package com.shiminghui.StringBuilder;

import java.util.Scanner;

public class Demo2 {
    public static void main(String[] args) {

        StringBuilder sb = new StringBuilder();

        sb.append("2344").append(1241414).append(23.5);
        System.out.println(sb.toString());

        Scanner scanner = new Scanner(System.in);

        StringBuilder stringBuilder = new StringBuilder();
        stringBuilder.append(scanner.next());
        sb = stringBuilder;
        if (sb.reverse().equals(stringBuilder)){
            System.out.println("huiwen");
        }
        //一般用在拼接和反转;


    }
}
